import Request from '@/axios/request'

export function getEquipmentCompanies(params) {
  return Request.get('equipment_companies', { params })
}

export function createEquipmentCompany() {
  return Request.get('equipment_companies/create')
}

export function storeEquipmentCompany(data) {
  return Request.post('equipment_companies', data)
}

export function updateEquipmentCompany(id, data) {
  return Request.put(`equipment_companies/${id}`, data)
}

export function editEquipmentCompany(id) {
  return Request.get(`equipment_companies/${id}/edit`)
}

export function destroyEquipmentCompany(id) {
  return Request.delete(`equipment_companies/${id}`)
}
